package com.es.pay.ctmPay;

import java.util.Calendar;

public class CtmPayBean {
	
	//其他为非季度，0为季度
	private int type =1;
	
	private String area_value;
	
	private String total;

	private String target;
	
	private String ctm;
	
	private String visitor;
	
	private String shop;
	
	public CtmPayBean(){		
		Calendar rightNow = Calendar.getInstance();
		type = (rightNow.get(Calendar.MONTH)+1)%3;
	}

	public String getArea_value() {
		return area_value;
	}

	public void setArea_value(String area_value) {
		this.area_value = area_value;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total==null?"0":total;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		if(type!=0)
		this.target = "-";
		else this.target = target==null?"0":target;
	}

	public String getCtm() {
		return ctm;
	}

	public void setCtm(String ctm) {
		this.ctm = ctm==null?"0":ctm;
	}

	public String getVisitor() {
		return visitor;
	}

	public void setVisitor(String visitor) {
		this.visitor = visitor==null?"0":visitor;
	}

	public String getShop() {
		return shop;
	}

	public void setShop(String shop) {
		this.shop = shop==null?"0":shop;
	}
	
	
}
